package com.d0309;

 class C {
     public void test(){
         System.out.println("C");
     }
}
class B extends C{
     public void test(){
         System.out.println("B");
     }
}
class A extends B{
     public void test(){
         System.out.println("A");
     }
     public void amethod(){
         super.test();
     }
}

